/** !Portable bitfields
This module defines the MX_BITFIELD macro so that even compilers
that perform strangely with bitfields can be used. */

#ifndef MX__DETK_BITFIELD
#define MX__DETK_BITFIELD

#ifdef __cplusplus
extern "C" {
#endif

#ifndef __QDOS__

/**type !Portable bitfield
A macro to define a bitfield variable. */
#define MX_BITFIELD(a) unsigned a:1
#else
#define MX_BITFIELD(a) unsigned char a
#endif

#ifdef __cplusplus
}
#endif
#endif
